package com.test.deathTest;

import java.sql.SQLException;

public class Nocker<T extends Exception> {
	private void pleaseThrow(final Exception t) throws T {
		throw (T) t;
	}

	public static void main(String[] args) {
		try {
			new Nocker<RuntimeException>().pleaseThrow(new SQLException());
		} catch (final RuntimeException ex) {
			ex.printStackTrace();
		}
	}
}
